package work.work70;

/**
 * 猎人
 */
public class Hunter extends People implements Hunt,Attack{
    public Hunter(){}
    public Hunter(String name){
        super(name);
    }
    public Hunter(String name,int level){
        super(name,level);
    }
    public void hunt(){
        System.out.println("可以打猎");
    }

    @Override
    public void attack() {
        System.out.println("可以攻击");
    }
}
